﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GenericKnowledge
{
    public class _02GenericMethod
    {

        public void Swap<T>(ref T t1, ref T t2)
        {
            T tmp;
            tmp = t1;
            t1 = t2;
            t2 = tmp;

        }
    }
}
